Systems and Methods for Analyzing Existing Data Models

ABSTRACT

In one embodiment, a computer-implemented method comprising receiving a user request. The method analyzes the data in a plurality of data sets to find inconsistent mappings. Data of data sets, such as columns formed by a join condition, are compared to determine matching or non-matching distinct characteristic values. A composite data set is generated based on the comparison. Another data set is compared with the composite data set, and the composite data set is enhanced. Each data set is compared in sequence, if the composite data set is not empty, until all data sets are analyzed. A result set is generated based on the matching or non-matching distinct characteristic values. The method may also determine if a join operates as a data filter. The operations that are used for analysis may include ‘count distinct’, ‘intersection’ and ‘Boolean operators’.

BACKGROUND

The present invention relates to computing, and in particular, to systems and methods for analyzing existing data models.

In business, academics, and government, data is often stored in different databases that may be in one or more computers in various locations. The databases may be generated by different sources. Valuable insight into the data is usually gained by combining data sets from the different sources, e.g. by combining sales, delivery and invoice data.

Various database software applications have tools available for defining combinations of data sets by logical relationships. One problem associated with these tools is the difficulty of using these tools by a user that has no or little technical background in query and database management programming. The user also needs a very good understanding of the data and metadata (e.g., data types) of the different data sets in order to combine the data sets for creating a consistent model and to understand the result set of the created model. This limits the group of users to a few experts. Consequently, there exists a need for improved systems and methods for analyzing the data of combined-data sets.

SUMMARY

Embodiments of the present invention include systems and methods for analyzing existing data models. In one embodiment, the present invention includes a computer-implemented method comprising receiving a user request in a controller, wherein a data store stores data as a plurality of data sets, each data set comprising a plurality of fields and a plurality of data elements, and wherein each field is associated with a portion of data elements, and wherein the user request associates selected data sets and a field of the selected data sets. The method further includes comparing, by the controller, a first data set of the plurality of data sets and a second data set of the plurality of data sets based on fields and selected data sets associated with the user request.

In one embodiment, the user request includes a user-defined join operation. The first data set is a composite result set of a union of the first data set. The second data set is a data set to be joined based on the user request.

In one embodiment, the method further comprises determining distinct values of data elements of the first data set and the second data set based on the fields associated with the user request; determining intersections of data elements of the first data set and the second data based on the fields associated with the user request; and generating a composite result set based on the determined intersections and distinct values of the first data set and the second data set.

In one embodiment, the method further comprises if the composite data set is not empty, comparing, by the controller, another data set and the composite data set based on fields associated with the user request; and determining distinct values of data elements of said other data set and the composite data set based on the fields associated with the user request.

In one embodiment, the method further comprises repeating for each joined data set of the group of data sets, if the composite data set is not empty, said comparing, said determining distinct values, said determining intersections, said enhancing the composite data result set.

In one embodiment, the method further comprises generating data model display information based on the composite data result set.

In one embodiment, the method further comprises determining whether the join operations operate as a filter.

In another embodiment, the present invention includes a computer readable medium embodying a computer program for performing a method and embodiments described above.

In another embodiment, the present invention includes a computer system comprising one or more processors implementing the techniques described herein. For example, the system includes a controller that receives a user request. A data store stores data as a plurality of data sets. Each data set comprises a plurality of fields and a plurality of data elements. Each field is associated with a portion of data elements. The user request associates a group of data sets and a field of the group of data sets. The controller compares a first data set of the group of data sets and a second data set of the group of data sets based on fields associated with the user request. The controller determines distinct values of data elements of the first data set and the second data set based on the fields associated with the user request. The controller determines intersections of data elements of the first data set and the second data based on the fields associated with the user request. The controller generates a result set based on the determined intersections and distinct values of the first data set and the second data set.

The following detailed description and accompanying drawings provide a better understanding of the nature and advantages of the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic representation of a system for performing analyzing existing data models according to an embodiment of the present invention.

FIG. 2 illustrates a process for analyzing data sets according to an embodiment of the present invention.

FIG. 3 illustrates example table values for a provider data store.

FIG. 4 illustrates example table values for another provider data store.

FIG. 5 illustrates example table values for yet another provider data store.

FIG. 6 illustrates a process for analyzing data sets according to an embodiment of the present invention.

FIG. 7 illustrates example data set linking.

FIG. 8 illustrates example table values for combined data sets.

FIG. 9 illustrates combination operations of provider data store according to an embodiment of the present invention.

FIG. 10 illustrates combination operations of provider data store according to another embodiment of the present invention.

FIG. 11 illustrates example table values of a result set according to an embodiment of the present invention.

FIG. 12 illustrates hardware used to implement embodiments of the present invention.

DETAILED DESCRIPTION

Described herein are techniques for analyzing existing data models. The apparatuses, methods, and techniques described below may be implemented as a computer program (software) executing on one or more computers. The computer program may further be stored on a computer readable medium. The computer readable medium may include instructions for performing the processes described below. In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of the present invention. It will be evident, however, to one skilled in the art that the present invention as defined by the claims may include some or all of the features in these examples alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.

FIG. 1 is a schematic representation of a system 100 for combining existing data models and performing combination analysis according to an embodiment of the present invention. System 100 includes a user or other interface 105, a data store 108, and a data combination system 112. In the following description, the term “data store” is used interchangeably with “database.” Data store 108 may comprise one or more data stores. For clarity and simplicity, only three data stores (i.e., data stores 108 a, 108 b, and 108 c) are shown. Data combination system 112 comprises a data store 120 that includes provider data 120 a, provider data 120 b, and provider data 120 c, a composite provider model 124, a data combination engine 125, and a controller 130.

Information is conveyed between user interface 105, data store 108, and data combination system 112, along data flow paths 132, 133, and 134. For example, data combination system 112 accesses the contents of database 108 over data flow path 134 when combining data.

Provider data 120 a, 120 b, and 120 c are sets of data that are stored in database 108 and accessed by data combination system 112. For clarity and simplicity, only three provider data 120 (i.e., provider data 120 a, 120 b, and 120 c) are shown. For example, provider data 120 a, 120 b, and 120 c may be stored in separate databases 108 a, 108 b, and 108 c, respectively. Provider data 120 is a set of data that is stored in database 108.

Composite provider model 124 is a model of combinations of data sets from provider data 120. In some embodiments, the combination is a union or join operation (such as inner join) of data sets. Data combination engine 125 executes a process or algorithm that analyzes data from provider data 120 a, 120 b, and 120 c and generates composite provider model 124 based on the analysis. Data combination engine 125 analyzes various properties of the data sets for generating the composite provider model 124. Data combination engine 125 combines data from database 108 using the analysis of the properties, and generates and provides composite provider model 124 to user interface 105.

User or other interface 105 is a collection of one or more data input/output devices for interacting with a human user or with another data processing system to receive and output data. For example, interface 105 can be a presentation system, one or more software applications, or a data communications gateway, for example. Data flow path 132 is data communicated over interface 105 that retrieves data from or causes a change to data stored in database 108. Such changes include the insertion, deletion, or modification of all or a portion of the contents of database 108. Data output over interface 105 can present the results of data processing activities in system 100. For example, data flow path 133 can convey the results of queries or other operations performed on data combination system 112 for presentation on a monitor or a data communications gateway.

Data store 108 is a collection of information that is stored at one or more data machine readable storage devices (e.g., data stores). Data store 108 may be a single data store or multiple data stores, which may be coupled to one or more software applications for storing application data. Data store 108 may store data as a plurality of data records. Each data record comprises a plurality of data elements (e.g., fields of a record). Data store 108 may include different structures and their relations (e.g., data store tables, data records, fields, and foreign key relations). Additionally, different structures and fields may include data types, descriptions, or other metadata, for example, which may be different for different data records. Data flow path 134 conveys information describing changes to data stored in data store 108 between data combination system 112 and data store 108 Such changes include the insertion, deletion, and modification of all or a portion of the contents of one or more data stores.

Data combination system 112 is a collection of data processing activities (e.g., one or more data analysis programs or methods) performed in accordance with the logic of a set of machine-readable instructions. The data processing activities can include combining or analyzing on the contents of data store 108 based on a user request. The results of such requests can be aggregated to yield an aggregated result set. A user request may be a request for information or perform an operation, such as combining selected data sets or user specified data sets. A result set is a set of information formed by analyzing data sets. An aggregated result set is a set of information from a data store that responds to a user request, such as from data store 108. The set of information in an aggregated result set can be, for example, a union of the results of independent operations on two or more data sets. The aggregated result sets can be conveyed to interface 105 over data flow path 133. Interface 105 can, in turn, render the aggregated result sets over an output device for a human or other user or to other systems. This output of aggregated result sets drawn from data combination system 112, based on data from data store 108, allows system 100 to accurately portray the combination of different data sets.

User requests or requests from the data combination engine 125 or the user interface 105 may be received by controller 130. Controller 130 may be a component on the same system as a data store or part of a different system and may be implemented in hardware, software, or as a combination of hardware and software, for example. Controller 130 receives a request from data combination engine 125 and generates one or more requests based on the received request depending on the data stores 108 and data sets that are to be accessed. Data store 108 transforms the request from controller 130 into a request syntax (e.g., SQL) compatible with the data store, and the request may specify specific tables and fields to be read from the data store.

Controller 130 receives data from data store 108. In responding to the request from data combination engine 125, controller 130 may aggregate the data of the data sets from data store 108. The aggregation may be implemented with a join operation, for example. Finally, controller 130 returns the aggregated data to data combination engine 125 in response to the request.

FIG. 2 illustrates a process for combining data sets according to an embodiment of the present invention. The process illustrated in FIG. 2 is described using the example data sets illustrated in FIGS. 3-5, which are example tables for provider data 120 a, 120 b, and 120 c, respectively.

FIG. 3 illustrates example table data for provider data 120 a, which may be maintained and stored in database 108 a, for example. The table has a granularity that includes calendar year/month, customer identification (key), and net sales.

FIG. 4 illustrates example table data for provider data 120 b, which may be maintained and stored in database 108 b, for example. The table has a granularity that includes customer (key) and rating. The data entry “Quen” is a typographical error for the word “Queen” which is a data entry in the table of FIG. 3.

FIG. 5 illustrates example table data for provider data 120 c, which may be maintained and stored in database 108 c, for example. The table has a granularity that includes rating and rating value.

Referring again to FIG. 2, at 202, data combination engine 125 receives data related to the data sets of database 108 that are to be combined. For example, the data sets may be provider data 120 a, 120 b, and 120 c. At 204, data combination engine 125 receives identifiers of the fields that are to be combined. The fields may be, for example, customer, rating, and value. At 206, data combination engine 125 analyses various combinations of data sets based on the received fields. For example, data combination engine 125 analyzes combinations of provider data 120 a, 120 b, and 120 c based on the customer, rating, and value fields. As will be described in conjunction with FIG. 6, data combination engine 125 compares a pair of provider data 120, and then on subsequent comparisons, compares another provider data 120 to the combined (e.g., UNION) previously compared provider data 120. The comparisons continue until there is no intersection between provider data 120 or the last provider data 120 has been analyzed. At 206, data combination engine 125 generates distinct values of the data sets. For example, data combination engine 125 generates distinct values of the provider data 120 a, 120 b, and 120 c. The distinct values may be generated using a count distinct operation. At 210, data combination engine 125 determines the intersection of columns of provider data 120 a, 120 b, and 120 c for the selected fields. For example, data combination engine 125 determines the intersection of the columns for the customer, rating, and value fields for provider data 120 a, 120 b, and 120 c.

At 212, data combination engine 125 generates a result set from the distinct values and intersection of the columns as will be described in more detail below in conjunction with FIG. 11. The model shows differences or discrepancies between the joined or associated fields of the data sets. The model also indicates the number of distinct values of all join field combinations of previously analyzed providers with respect to the provider data 120 that is being examined. The model also indicates the number of distinct values of all join field combinations with respect to the provider data 120 that is being examined. The model also indicates the number of matches in the data. If the number of values of the joint combination is greater than the number of matching values, the data is different between the data sets. The difference may be, for example, an inconsistency or intentionally omitted data. The user can select from user interface 105 to view the distinct values, various combinations, and matches. Using standard database tools, the user may modify the provider data 120 to correct or otherwise change the data entry. For example, the user may correct the spelling of “Quen”. Running data combination engine 125 again results in an additional matching value between provider data 120 a and 120 b that reflects the corrected spelling. The user may decide that the omission of Farmer is intentional and ignore it, or may decide that the omission is an error, and take corrective action, such requesting a change of the data in provider data 120 b.

FIG. 6 illustrates a process for combining data sets according to an embodiment of the present invention. The process illustrated in FIG. 6 is described using the example data illustrated above in FIGS. 3-5, the example data set linking of FIG. 7, and the example table of FIG. 8. The combination functions or logical relationships described herein for various embodiments are described in terms of SQL operations, such as UNION, INNER JOIN and (LEFT) OUTER JOIN, as illustrative examples. For ease of explanation, provider i and provider j will be used to refer to two of provider data 120. The process illustrated in FIG. 6 may be used for two or more providers and may continue until each provider is analyzed or the composite data set is empty.

At 602, data combination engine 125 determines distinct values in provider i on the JOIN column. As an illustrative example for the first iteration of i, FIG. 7 illustrates provider 120 a as customer sales rating with a customer field. Data combination engine 125 determines distinct values in the customer field of provider 120 a. In the illustrative table of FIG. 3, data combination engine 125 finds five distinct values, namely, King, Queen, Princess, Farmer, and Jack.

At 604, data combination engine 125 determines distinct values in provider j on the JOIN column. As an illustrative example for the first iteration of j, FIG. 7 illustrates provider 120 b as customer sales rating with a customer field. Data combination engine 125 determines distinct values in the customer field of provider 120 b. In the illustrative table of FIG. 4, data combination engine 125 finds four distinct values, namely, King, Quen, Princess, and Jack. As noted above, data entry Quen is a typographical error. Entry Farmer is missing, which may be intentional or in error.

At 606, data combination engine 125 determines the intersection of the JOIN columns of provider i and provider j. In the illustrative embodiment, the intersection is an INNER JOIN. The result is three customers, namely King, Princess and Jack. FIG. 8 is example table data of the intersection of the provider 120 a and provider 120 b combined with the data of provider 120 c. FIG. 8 shows only the matching data values. This data does not include Queen (Quen in provider 120 b), because of the typographical error, and does not include Farmer, which may or may not be intentionally omitted from provider 120 b. As will be described below, the distinct values determined at 602 and 604, but not part of the intersection (Queen and Farmer), will be provided to allow the user to determine whether the non matching data should be included. FIG. 9 illustrates the intersection determination at 606 for provider 120 a and provider 120 b. The notation Line 1 and Line 2 indicate the placement of the data in a results table described below in conjunction with FIG. 11.

At 608, data combination engine 125 determines whether the intersection at 606 is zero. If it is, at 610, data combination engine 125 ends the join analysis and generates the model of results as described at 212 (FIG. 2). Otherwise, at 612, data combination engine 125 determines whether the provider 120 (provider j) being analyzed is the last provider. If it is, at 610, data combination engine 125 ends the join analysis. In the first iteration provider j is provider 120 b, and provider 120 c remains to be analyzed.

At 614, data combination engine 125 defines provider i as the join combination of provider i and provider j, and returns to analyzing provider i at 602. In the illustrative example, provider i (i equals 1) equals (provider 120 a JOIN provider 120 b). The provider i at 614 is a composite data set that is modified with each iteration, as shown in FIGS. 9-10.

In the second iteration, at 602, data combination engine 125 determines distinct values in provider 120 a (the join at 614) on the JOIN column, namely customer rating. In the illustrative table of FIG. 4, data combination engine 125 finds two distinct values, namely, a rating A for King, and a rating C for Princess and Jack.

At 604, data combination engine 125 determines distinct values in provider 120 c on the JOIN column. FIG. 7 illustrates provider 120 c as rating value with a customer rate. Data combination engine 125 determines distinct values in the customer rate field of provider 120 c. In the illustrative table of FIG. 5, data combination engine 125 finds four distinct values, namely, A, B, C, and D. Rating B and D are not matching due to the inner JOIN operation.

At 606, data combination engine 125 determines the intersection of provider 120 c JOIN with the JOIN of provider 120 a and provider 120 b. In the illustrative embodiment, the intersection is ratings A and C. FIG. 8 illustrates the value for the ratings of A and C. As will be described below, the distinct values determined at 602 and 604, but not part of the intersection (ratings B and D), will be provided to allow the user to determine whether non matching data should be ignored or corrected. FIG. 10 illustrates the intersection determination at 606 for provider 120 c and the JOIN of provider 120 a and provider 120 b. The notation Line 1 and Line 2 indicate the placement of the data in a results table described below in conjunction with FIG. 11.

At 608, data combination engine 125 determines whether the intersection at 606 is zero. In this example, it is not zero and at 612, data combination engine 125 determines whether the provider (provider j) that is analyzed is the last provider. Provider 120 c (for j=3) is the last provider, and thus data combination engine 125 ends the join analysis.

Referring again to FIG. 2, at 212, data combination engine 125 generates the result set. FIG. 11 illustrates example table data of the result set of the analysis. FIG. 11 illustrates for providers 120 b and 120 c, the fields of the combination, the number of values of the result, a description of the value and a corresponding line number. The combination of the customer field (called field 1 in FIG. 11) illustrates that the union of provider 120 a and 120 b has five distinct values (line 1) expanding to show in a pop up window (Farmer, Jack, King, Princess, and Queen). Provider 120 b has four distinct values (line 2) expanding to show in a pop up window (Jack, King, Princess, and Quen) and three distinct matching values (line 3) expanding to show in a pop up window (Jack, King. and Princess). The combination of the customer field (called field 2 in FIG. 11) illustrates that the union of provider 120 c and the JOIN of providers 120 a and 120 b has two different values (line 1), which could be expanded to show in a pop up window (A and C). Provider 120 c has four different values (line 2), which could be expanded to show in a pop up window (A, B, C and D) and two values matching (line 3), which could be expanded to show in a pop up window (A and C). As described above, the user may use the result set to determine whether the non matching values should be ignored or corrected by requesting a change to provider data 120.

Data combination engine 125 may also determine whether the join operates as a filter. A join operates as a filter, if the join type is inner, and the difference (line 1 minus line 3) is greater than zero (>0) (thus, not all values match; and the join operates as filter). A join does not operate as a filter, if the join type is left outer, or the difference (Line 1 minus Line 3) is zero (=0) (thus, all values match; and the join does not operate as filter).

FIG. 12 illustrates hardware used to implement embodiments of the present invention. An example computer system 1210 is illustrated in FIG. 12. Computer system 1210 includes a bus 1205 or other communication mechanism for communicating information, and one or more processors 1201 coupled with bus 1205 for processing information. Computer system 1210 also includes a memory 1202 coupled to bus 1205 for storing information and instructions to be executed by processor 1201, including information and instructions for performing the techniques described above, for example. This memory may also be used for storing variables or other intermediate information during execution of instructions to be executed by processor 1201. Possible implementations of this memory may be, but are not limited to, random access memory (RAM), read only memory (ROM), or both. A machine readable storage device 1203 is also provided for storing information and instructions. Common forms of storage devices include, for example, a non-transitory electromagnetic medium such as a hard drive, a magnetic disk, an optical disk, a CD-ROM, a DVD, a flash memory, a USB memory card, or any other medium from which a computer can read. Storage device 1203 may include source code, binary code, or software files for performing the techniques above, for example. Storage device 1203 and memory 1202 are both examples of computer readable mediums.

Computer system 1210 may be coupled via bus 1205 to a display 1212, such as a cathode ray tube (CRT), plasma display, light emitting diode (LED) display, or liquid crystal display (LCD), for displaying information to a computer user. An input device 1211 such as a keyboard and/or mouse is coupled to bus 1205 for communicating information and command selections from the user to processor 1201. The combination of these components allows the user to communicate with the system, and may include, for example, user interface 105. In some systems, bus 1205 may be divided into multiple specialized buses.

Computer system 1210 also includes a network interface 1204 coupled with bus 1205. Network interface 1204 may provide two-way data communication between computer system 1210 and the local network 1220, for example. The network interface 1204 may be a digital subscriber line (DSL) or a modem to provide data communication connection over a telephone line, for example. Another example of the network interface is a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links are another example. In any such implementation, network interface 1204 sends and receives electrical, electromagnetic, or optical signals that carry digital data streams representing various types of information.

Computer system 1210 can send and receive information, including messages or other interface actions, through the network interface 1204 across a local network 1220, an Intranet, or the Internet 1230. For a local network, computer system 1210 may communicate with a plurality of other computer machines, such as server 1215. Accordingly, computer system 1210 and server computer systems represented by server 1215 may be programmed with processes described herein. In the Internet example, software components or services may reside on multiple different computer systems 1210 or servers 1231-1235 across the network. Some or all of the processes described above may be implemented on one or more servers, for example. Specifically, data store 108 and data combination system 112 might be located on different computer systems 1210 or one or more servers 1215 and 1231-1235, for example. A server 1231 may transmit actions or messages from one component, through Internet 1230, local network 1220, and network interface 1204 to a component on computer system 1210. The software components and processes described above may be implemented on any computer system and send and/or receive information across a network, for example.

The above description illustrates various embodiments of the present invention along with examples of how aspects of the present invention may be implemented. The above examples and embodiments should not be deemed to be the only embodiments, and are presented to illustrate the flexibility and advantages of the present invention as defined by the following claims. Based on the above disclosure and the following claims, other arrangements, embodiments, implementations and equivalents will be evident to those skilled in the art and may be employed without departing from the spirit and scope of the invention as defined by the claims. 

What is claimed is:
 1. A computer-implemented method comprising: receiving a user request in a controller, wherein a data store stores data as a plurality of data sets, each data set comprising a plurality of fields and a plurality of data elements, and wherein each field is associated with a portion of the data elements, and wherein the user request associates selected data sets and a field of the selected data sets; comparing, by the controller, a first data set of the plurality of data sets and a second data set of the plurality of data sets based on fields and selected data sets associated with the user request; determining distinct values of data elements of the first data set and the second data set based on the fields associated with the user request; determining intersections of data elements of the first data set and the second data based on the fields associated with the user request; and generating a result set based on the determined intersections and distinct values of the first data set and the second data set.
 2. The method of claim 1, wherein the user request includes a user-defined joined operation, wherein the first data set is a composite result set of a union of the first data set, wherein the second data set is a data set to be joined based on the user request.
 3. The method of claim 1, further comprising generating data model display information based on the result set.
 4. The method of claim 1, further comprising: generating a composite data set based on the determined intersections of data elements of the first data set and the second data set; if the composite data set is not empty, comparing, by the controller, another data set and the composite data set based on fields associated with the user request; determining distinct values of data elements of said other data set and the composite data set based on the fields associated with the user request; determining intersections of data elements of the first data set and data set formed of the intersection of the first and second data sets based on the fields associated with the user request; modifying the result set based on the determined intersections and distinct values of the first data set and the second data set; and modifying the composite data set based on the determined intersections of data elements of said another data set and the composite set.
 5. The method of claim 4, further comprising generating data model display information based on the result set.
 6. The method of claim 4, further comprising repeating for each data set of the group of data sets, if the composite data set is not empty, said comparing, said determining distinct values, said determining intersections, said modifying the result set and said modifying the composite data set.
 7. The method of claim 4, wherein generating the result set further comprises determining distinct values of a join operation of said another data set and the composite data set.
 8. The method of claim 4, wherein generating the result set further comprises determining a number of distinct values of each data set, determining a number of matching values of the intersections and determining a number of values in a join between compared data sets.
 9. The method of claim 4 wherein the intersections of said another data set and the composite data set are based on join operations.
 10. The method of claim 9, further comprising determining whether the join operations operate as a filter.
 11. A computer readable medium embodying a computer program for performing a method, said method comprising: receiving a user request in a controller, wherein a data store stores data as a plurality of data sets, each data set comprising a plurality of fields and a plurality of data elements, and wherein each field is associated with a portion of the data elements, and wherein the user request associates selected data sets and a field of the selected data sets; comparing, by the controller, a first data set of the plurality of data sets and a second data set of the plurality of data sets based on fields and selected data sets associated with the user request; determining distinct values of data elements of the first data set and the second data set based on the fields associated with the user request; determining intersections of data elements of the first data set and the second data based on the fields associated with the user request; and generating a result set based on the determined intersections and distinct values of the first data set and the second data set.
 12. The computer readable medium of claim 11, wherein the method further comprises generating data model display information based on the result set.
 13. The computer readable medium of claim 12, wherein the method further comprises: generating a composite data set based on the determined intersections of data elements of the first data set and the second data set; if the composite data set is not empty, comparing, by the controller, another data set and the composite data set based on fields associated with the user request; determining distinct values of data elements of said other data set and the composite data set based on the fields associated with the user request; determining intersections of data elements of the first data set and data set formed of the intersection of the first and second data sets based on the fields associated with the user request; modifying the result set based on the determined intersections and distinct values of the first data set and the second data set; and modifying the composite data set based on the determined intersections of data elements of said another data set and the composite set.
 14. The computer readable medium of claim 12, wherein generating the result set further comprises determining a number of distinct values of each data set, a number of matching values of the intersections and number of values in the union between compared data sets.
 15. The computer readable medium of claim 11 wherein the intersections are join operations.
 16. The computer readable medium of claim 15, further comprising determining whether the join operations operate as a filter.
 17. The computer readable medium of claim 11, wherein the data sets are arranged in columns of data elements, and a field is associated with a column.
 18. A computer system comprising: one or more processors; a controller, the controller receiving a user request in a controller, wherein a data store stores data as a plurality of data sets, each data set comprising a plurality of fields and a plurality of data elements, and wherein each field is associated with a portion of the data elements, and wherein the user request associates selected data sets and a field of the selected data sets; the controller comparing a first data set of the plurality of data sets and a second data set of the plurality of data sets based on fields and selected data sets associated with the user request; determining distinct values of data elements of the first data set and the second data set based on the fields associated with the user request; determining intersections of data elements of the first data set and the second data based on the fields associated with the user request; and generating a result set based on the determined intersections and distinct values of the first data set and the second data set.
 19. The computer system of claim 18, wherein the controller further generates generating data model display information based on the result set.
 20. The computer system of claim 19, wherein the controller further if the composite data set is not empty, compares another data set and the composite data set based on fields associated with the user request, determines distinct values of data elements of said other data set and the composite data set based on the fields associated with the user request, determines intersections of data elements of the first data set and data set formed of the intersection of the first and second data sets based on the fields associated with the user request, modifies the result set based on the determined intersections and distinct values of the first data set and the second data set, and modifies the composite data set based on the determined intersections of data elements of said another data set and the composite set. 